#!/bin/sh

# Some operations need root authority

SRCDIR=/tmp
cd ${SRCDIR}
git clone http://git.oschina.net/yuanhack/vim72.git
sudo yum install -y ncurses-devel ctags cscope
cd vim72
make && sudo make install
mkdir -p ~/bin
cp src/vim ~/bin
cd ~/bin
ln -svf vim vi

echo done.
